package com.hz.web.service.impl;

import com.hz.web.dao.CompanyEmployeeStatusMapper;
import com.hz.web.dao.CompanyLevelInfoMapper;
import com.hz.web.entity.CompanyEmployeeStatus;
import com.hz.web.entity.CompanyLevelInfo;
import com.hz.web.service.ICompanyEmployeeStatusService;
import com.hz.web.service.ICompanyLevelInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class CompanyLevelInfoImpl implements ICompanyLevelInfoService {

    @Resource
    private CompanyLevelInfoMapper companyLevelInfoMapper;

    @Override
    public int insertSelective(CompanyLevelInfo entity) {
        return companyLevelInfoMapper.insertSelective(entity);
    }

    @Override
    public int insert(CompanyLevelInfo entity) {
        return companyLevelInfoMapper.insert(entity);
    }

    @Override
    public int updateById(CompanyLevelInfo entity) {
        return companyLevelInfoMapper.updateByPrimaryKeySelective(entity);
    }

    @Override
    public List<CompanyLevelInfo> queryList(Map<String, Object> map) {
        return null;
    }

    @Override
    public int queryCount(Map<String, Object> map) {
        return 0;
    }

    @Override
    public CompanyLevelInfo selectByCompanyId(Long companyId) {
        return companyLevelInfoMapper.selectByCompanyId(companyId);
    }
}
